package com.chaoyi.service;

import java.util.List;

import com.chaoyi.model.User;

public interface UserService {
	
	public List<User> findUserList(String offset,String limit, User user);
	
	public int findUserNameNum(String userName,int id);
	
	public int addUser(User user);
	
	public int selectUsernumber();
	
	public User findUserOne(int id);
	
	public int updateUser(User user);
	
	public int deleteUser(int id);

	public List<User> findBusiness();
}
